/*
 * @Author: 武兴创 superjava@qq.com
 * @Date: 2024-08-15 19:12:21
 * @LastEditors: 武兴创 superjava@vip.qq.com
 * @LastEditTime: 2024-08-28 17:44:40
 * @FilePath: \SGFEM\DataStructure\FEM\Element\test\CRODDataTest.hpp
 */
#pragma once

#include <gtest/gtest.h>

#include "DataStructure/Input/Element/CRODData.h"

TEST (CRODDataTest, Compare)
{
    // Input
    SG::DataStructure::FEM::CRODData cord1;
    cord1.m_domainId = 1;
    cord1.m_g[0]     = 1;
    cord1.m_g[1]     = 1;
    cord1.m_id       = 1;
    cord1.m_pId      = 1;

    SG::DataStructure::FEM::CRODData cord2;
    cord2.m_domainId = 1;
    cord2.m_g[0]     = 1;
    cord2.m_g[1]     = 1;
    cord2.m_id       = 1;
    cord2.m_pId      = 1;

    ASSERT_TRUE (cord1 == cord2);
}
